package com.cw.utils;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "返回结果")
public class R {
    @ApiModelProperty(value = "状态码")
    private Integer code = 0;
    @ApiModelProperty(value = "描述")
    private String msg;
    @ApiModelProperty(value = "返回的数据条数")
    private long count=0L;
    @ApiModelProperty(value = "返回的数据")
    private Object data;
}
